package cn.stylefeng.guns.sys.modular.system.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.sys.modular.system.entity.BtyElmsxf;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyElmsxfParam;
import cn.stylefeng.guns.sys.modular.system.model.result.BtyElmsxfResult;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liuy
 * @since 2021-10-12
 */
public interface BtyElmsxfService extends IService<BtyElmsxf> {

    /**
     * 新增
     *
     * @author liuy
     * @Date 2021-10-12
     */
    void add(BtyElmsxfParam param);

    /**
     * 删除
     *
     * @author liuy
     * @Date 2021-10-12
     */
    void delete(BtyElmsxfParam param);

    /**
     * 更新
     *
     * @author liuy
     * @Date 2021-10-12
     */
    void update(BtyElmsxfParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author liuy
     * @Date 2021-10-12
     */
    BtyElmsxfResult findBySpec(BtyElmsxfParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author liuy
     * @Date 2021-10-12
     */
    List<BtyElmsxfResult> findListBySpec(BtyElmsxfParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author liuy
     * @Date 2021-10-12
     */
     LayuiPageInfo findPageBySpec(BtyElmsxfParam param);

    Boolean batchImport(String fileName, MultipartFile file,BtyElmsxfParam param);
}
